<!DOCTYPE html>
<html lang="en">
  	<head>
	    <meta charset="utf-8">
	    <title>Store Manager | Manage your Store and Product</title>
	    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	    <meta name="description" content="">
	    <meta name="author" content="">
        <link rel="shortcut icon" href="<?php echo base_url();?>assets/img/logo2.png">

	    <!-- CSS -->
	    <link href="<?php echo base_url();?>assets/css/bootstrap.css" rel="stylesheet">
	    <link href="<?php echo base_url();?>assets/css/bootstrap-responsive.css" rel="stylesheet">

    	<script src="<?php echo base_url();?>assets/js/jquery.1.9.1.js"></script>
    	<script src="<?php echo base_url();?>assets/js/bootstrap.file-input.js"></script>

	    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
	    <!--[if lt IE 9]>
	      <script src="<?php echo base_url();?>assets/js/html5shiv.js"></script>
	    <![endif]-->

	    <script type="text/javascript">
	    $(document).ready(function() {
	    	<?php  if (isset($message) && is_array($message)):?>

	    		var message = '<div class="alert <?php echo $message[0] ?>"><button type="button" class="close" data-dismiss="alert">×</button> <?php echo $message[1] ?> </div>'
	    		$("#message").html(message);
	    	<?php endif; ?>	    	
	    });

	    var site_url = '<?php echo site_url(); ?>';
	    </script>

	    <style type="text/css">

	    .content-body {
	    	padding: 10px;
	    	min-height: 517px;
	    	margin-bottom: 10px;
	    }

	    /* Large desktop */
		@media (min-width: 1200px) {  
			body {
	        	padding-top: 60px;
	      	} 
	    }
 
		/* Portrait tablet to landscape and desktop */
		@media (min-width: 768px) and (max-width: 979px) { }

		   
	      	#footer {
		        /* background: #71FFE8;*/
		        padding: 15px;
		    }

		    /* Lastly, apply responsive CSS fixes as necessary */
		    @media (max-width: 767px) {
		        #footer {
		          margin-left: -20px;
		          margin-right: -20px;
		          padding-left: 20px;
		          padding-right: 20px;
		        }
		    }
    	</style>
	    <link rel="shortcut icon" href="<?php echo base_url();?>assets/image/icon.png">
	</head>
<body>


      <!-- Fixed navbar -->
      <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="navbar-inner">
          <div class="container">
            <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a class="brand" href="#">Store Manager</a>
            <div class="nav-collapse collapse">
              
                    <ul class="nav">
                      <li class="active"><a href="<?php echo site_url('manager');?>">Home</a></li>
                      
                      <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Store<b class="caret"></b></a>
                        <ul class="dropdown-menu">
                          <li><a href="<?php echo site_url('manager/product');?>">Product</a></li>
                          <li><a href="<?php echo site_url('manager/store');?>">My Store</a></li>
                        </ul>
                      </li>

                      <li><a href="<?php echo site_url('order/orders');?>">Order Transaction</a></li>

                      <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Settings<b class="caret"></b></a>
                        <ul class="dropdown-menu">
                          <li><a href="<?php echo site_url('manager/myaccount');?>">My Account</a></li>
                        </ul>
                      </li>

                    </ul>

               <ul class="nav navbar-form pull-right">
                <li><a href="<?php echo site_url('store/lists/'.$store_id);?>" target="_blank">Open My Store</a></li>
                <li><a href="<?php echo site_url('auth/logout');?>">Logout</a></li>             
              </ul>

            </div><!--/.nav-collapse -->
          </div>
        </div>
      </div>